package com.brainhealth.customer.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.brainhealth.common.annotation.Excel;
import com.brainhealth.common.core.domain.BaseEntity;

/**
 * 登录推送任务对象 sys_login_push
 * 
 * @author ruoyi
 * @date 2023-06-08
 */
public class SysLoginPush extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 数据库主键 */
    private Long id;

    /** 任务编号 */
    @Excel(name = "任务编号")
    private Long taskId;

    /** 推送内容 */
    @Excel(name = "推送内容")
    private String pushContent;

    /** 推送用户类型 */
    @Excel(name = "推送用户类型")
    private Integer pushUserType;

    /** 推送用户 */
    @Excel(name = "推送用户")
    private String pushUser;

    /** 图片 */
    @Excel(name = "图片")
    private String picture;

    /** 推送开关（1：开启 0：关闭） */
    @Excel(name = "推送开关", readConverterExp = "1=：开启,0=：关闭")
    private Integer pushSwitch;

    /** 推送条件 */
    @Excel(name = "推送条件")
    private Integer pushCondition;

    /** 删除标志(0：未删除 1：已删除） */
    @Excel(name = "删除标志(0：未删除 1：已删除）")
    private Integer yn;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTaskId(Long taskId) 
    {
        this.taskId = taskId;
    }

    public Long getTaskId() 
    {
        return taskId;
    }
    public void setPushContent(String pushContent) 
    {
        this.pushContent = pushContent;
    }

    public String getPushContent() 
    {
        return pushContent;
    }
    public void setPushUserType(Integer pushUserType) 
    {
        this.pushUserType = pushUserType;
    }

    public Integer getPushUserType() 
    {
        return pushUserType;
    }
    public void setPushUser(String pushUser) 
    {
        this.pushUser = pushUser;
    }

    public String getPushUser() 
    {
        return pushUser;
    }
    public void setPicture(String picture) 
    {
        this.picture = picture;
    }

    public String getPicture() 
    {
        return picture;
    }
    public void setPushSwitch(Integer pushSwitch) 
    {
        this.pushSwitch = pushSwitch;
    }

    public Integer getPushSwitch() 
    {
        return pushSwitch;
    }
    public void setPushCondition(Integer pushCondition) 
    {
        this.pushCondition = pushCondition;
    }

    public Integer getPushCondition() 
    {
        return pushCondition;
    }
    public void setYn(Integer yn) 
    {
        this.yn = yn;
    }

    public Integer getYn() 
    {
        return yn;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("taskId", getTaskId())
            .append("pushContent", getPushContent())
            .append("pushUserType", getPushUserType())
            .append("pushUser", getPushUser())
            .append("picture", getPicture())
            .append("pushSwitch", getPushSwitch())
            .append("pushCondition", getPushCondition())
            .append("yn", getYn())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
